<include file="Public/header" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<table border="1" width="100%">
<tr>
  <th>活动编号</th>
  <th>活动名称</th>
  <th>主办社团</th>
  <th>发布人</th>
  <th>活动时间</th>
  <th>活动地点</th>
  <th>活动介绍</th>
  <th>附件</th>
  <th>注意事项</th>
  <th>发布时间</th>
  <th>点击次数</th>
  <th>状态</th>
  <th>操作</th>
</tr>

<!-- 可以接受users变量 -->

<tr>
<volist name="practices" id="list">
  <td>{$list.pid}</a></td>
  <td><a href="practicesDetail?pid={$list.pid}" conclick="hit">{$list.name}</a></td> 
  <td>{$list.groupname}</td>
  <td>{$list.puser}</td>
  <td>{$list.ptime}</td>
  <td>{$list.place}</td>
  <td>{$list.intro}</td>
  <td>{$list.pfile}</td>
  <td>{$list.matters}</td>
  <td>{$list.pdate}</td>
  <td>{$list.hit}</td>
  <td>
  	<if condition="$list.pstate eq 0">未审核
  	<else/>已审核
  	</if>
  </td>
  <td>
  	<div class="btn-group">
    <a class="btn btn-small dropdown-toggle" data-toggle="dropdown" href="#">
 	   操作<span class="caret"></span></a>
    <ul class="dropdown-menu pull-right">
      <li>
      	<if condition="$list.pstate eq 0"><a href="practicesCheck?pid={$list.pid}">审核</a>
  		<else/><a href="practicesUncheck?pid={$list.pid}">取消审核状态</a>
  		</if>
      </li>
      <li><a href="practicesDelete?pid={$list.pid}"><i class="icon-trash"></i>删除</a></li>
    </ul>
 	</div>
  </td>        
</tr>
</volist>
<tr><td align="right" colspan="13"><a href="practicesInsertInfo"><button type="button" class="btn btn-default">发布活动</button></a>
</table>
<include file="Public/footer" />